<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>我的</title>
    <link href="/zyy/Public/css/my.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"src="/zyy/Public/js/jquery-1.12.1.js"></script>
</head>
<body>
<div class="All">
    <div class="heading line">
        <div class="photo">
            <img src="/zyy/Public/images/personPhoto.jpg">
        </div>
        <div class="wenzi">
            <div class="name"><?php echo ($data["name"]); ?></div>
            <div class="neirong">
                <div class="gender"><?php echo ($data["user_sex"]); ?></div>
                <div class="nicheng"><?php echo ($data["user_home"]); ?></div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="list line" id="set">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/wode5.png">
                </div>
                <div class="text">我的订单</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set1">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/wode4.png">
                </div>
                <div class="text">个人信息</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set2">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/wode3.png">
                </div>
                <div class="text">修改密码</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set3">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/">
                </div>
                <div class="text">意见反馈</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set4">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/wode2.png">
                </div>
                <div class="text">检查更新</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set5">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/wode1.png">
                </div>
                <div class="text">切换账号</div>
                <div class="back">
                    <img src="/zyy/Public/images/backk.png">
                </div>
            </div>
        </div>
        <div class="list line" id="set6">
            <div class="one">
                <div class="two">
                    <img src="/zyy/Public/images/">
                </div>
                <div class="text">退出</div>
            </div>
        </div>
    </div>
</div>

</body>
</html>
<script>
    $(function(){
        $("#set").click(function(){
            window.location.href="<?php echo U('order');?>";
        });
        $("#set1").click(function(){
            window.location.href="<?php echo U('mine');?>";
        });
        $("#set2").click(function(){
            window.location.href="<?php echo U('changePassword');?>";
        });
        $("#set3").click(function(){
//            window.location.href="/zyy/Public/html/order.html";
        });
        $("#set4").click(function(){
            window.location.href="<?php echo U('check');?>";
        });
        $("#set5").click(function(){
            window.location.href="<?php echo U('swit');?>";
        });
        $("#set6").click(
            function firm()
            {
                if(confirm("你确信要退出吗？"))
                {
                    //如果是true ，那么就把页面转向thcjp.cnblogs.com
                    window.location.href="<?php echo U('login_out');?>";
                }
        });
    });
</script>